package com.example.fitapp.activity.bean;

import java.io.Serializable;
import java.util.List;

public class DynamicInfo implements Serializable {


    /**
     * msg : ok
     * error_code : 0
     * request : GET /v1/dynamic/getAll
     * data : [{"id":57,"userId":5,"title":"短发照样美","richText":"喜欢左图的发型，但是自从剪了短发基本就是右图酱紫\u2026运动起来也必须是右图啦，可能淑女风格还是不适合我\u2026\u2026","images":[{"id":60,"dynamicId":57,"image":"https://fitapp.dashingdog.cn/fitImg/upload_babede7ebe65d365f0afa206019bf173.jpg"},{"id":61,"dynamicId":57,"image":"https://fitapp.dashingdog.cn/fitImg/upload_dc21ce7099a951835aa2b2c2ca34ad9a.jpg"}],"userInfo":{"id":5,"nickname":"","email":"545520199@qq.com","openid":null,"header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":58,"userId":12,"title":"Color Summer","richText":"带着keep去旅行～[微笑]5天15潜，打卡美丽的仙本那～","images":[{"id":62,"dynamicId":58,"image":"https://fitapp.dashingdog.cn/fitImg/upload_c7b754d02f94d4bb19c215dc1c18e795.jpg"},{"id":63,"dynamicId":58,"image":"https://fitapp.dashingdog.cn/fitImg/upload_ce2d6e83d29d9b7a733094ea986aae03.jpg"},{"id":64,"dynamicId":58,"image":"https://fitapp.dashingdog.cn/fitImg/upload_89a14ec55d0a30a108d3b5bf7541bffd.jpg"}],"userInfo":{"id":12,"nickname":"小苏","email":"609331389@qq.com","openid":"ofN9N5ZMx6QYerIMoTxLbPfYgGfg","header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":59,"userId":12,"title":"坚持Keep的那些天","richText":"平台期想少吃点，早餐就简简单单来一点\n结果\u2026\u2026\n万万没想到我爸妈买了一堆好吃的，午饭后饱嗝gou ga gou  ga 就没停过[白眼][白眼][白眼]","images":[{"id":65,"dynamicId":59,"image":"https://fitapp.dashingdog.cn/fitImg/upload_950838f4a694feb64127eb5be183dcfe.jpg"},{"id":66,"dynamicId":59,"image":"https://fitapp.dashingdog.cn/fitImg/upload_823e15c7479193c099a44b57a7af7d30.jpg"}],"userInfo":{"id":12,"nickname":"小苏","email":"609331389@qq.com","openid":"ofN9N5ZMx6QYerIMoTxLbPfYgGfg","header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":60,"userId":12,"title":"健身也要健出范","richText":"👉🏻今天翻相册看到两张有趣的照片[坏笑]\n\n我可以负重10kg的铁，也可以穿上10cm的高跟鞋和xs的裙子🌝","images":[{"id":67,"dynamicId":60,"image":"https://fitapp.dashingdog.cn/fitImg/upload_495de4b281651a41c29f27836cdb6635.jpg"},{"id":68,"dynamicId":60,"image":"https://fitapp.dashingdog.cn/fitImg/upload_dcaacdca3f120468e020c355e4133f29.jpg"}],"userInfo":{"id":12,"nickname":"小苏","email":"609331389@qq.com","openid":"ofN9N5ZMx6QYerIMoTxLbPfYgGfg","header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":61,"userId":12,"title":"旅途中如何坚持运动","richText":"从来不觉得旅行辛苦，出去旅行心态特别重要\n旅行中我喜欢早晨起来跑步，喜欢穿上平底鞋到处走走停停，喜欢用脚来丈量我所去过的地方\n真的感恩所有的美好，美好的你们，美好的生活，美好的简单幸福\n假期愉快 ","images":[{"id":69,"dynamicId":61,"image":"https://fitapp.dashingdog.cn/fitImg/upload_68d96ee10eb254bd0d7fab8f44e6bd08.jpg"},{"id":70,"dynamicId":61,"image":"https://fitapp.dashingdog.cn/fitImg/upload_e3094cb79071c733170814f5aa01733b.jpg"},{"id":71,"dynamicId":61,"image":"https://fitapp.dashingdog.cn/fitImg/upload_ff8055d45c756ceff732882a792ba273.jpg"}],"userInfo":{"id":12,"nickname":"小苏","email":"609331389@qq.com","openid":"ofN9N5ZMx6QYerIMoTxLbPfYgGfg","header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":62,"userId":12,"title":"婷呐","richText":"健康的可持续的减脂速度大概是每周一公斤，一个月4-5公斤。这种速度减脂不至于饿肚子，运动量也在可接受范围内。\n\n不要相信一个月暴瘦几十斤的方法，就算真的能瘦几十斤你觉得皮肤也会松垮下来，像一只沙皮狗一样难看。\n\n减肥的过程就是从不健康生活调整到健康生活的过程，你需要改变以往的生活方式，其中包括睡眠时间，饮食结构，运动习惯养成等。\n\n这些都需要时间与毅力，不可能投机取巧的。如果你抱着暴瘦的想法去减肥结果都是失败的，太容易瘦下来你就不会珍惜成功，很容易又会恢复原先的体重甚至反超。\n\n ","images":[{"id":72,"dynamicId":62,"image":"https://fitapp.dashingdog.cn/fitImg/upload_91027676dafc8718ee685682ca8a087b.jpg"},{"id":73,"dynamicId":62,"image":"https://fitapp.dashingdog.cn/fitImg/upload_3bc3f8475ba008dd7a7d6e4611584cf0.jpg"},{"id":74,"dynamicId":62,"image":"https://fitapp.dashingdog.cn/fitImg/upload_8c2c70d36e503d3648947b70ae538f89.jpg"}],"userInfo":{"id":12,"nickname":"小苏","email":"609331389@qq.com","openid":"ofN9N5ZMx6QYerIMoTxLbPfYgGfg","header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}},{"id":75,"userId":11,"title":"hhhhh","richText":"123132","images":[{"id":88,"dynamicId":75,"image":"https://fitapp.dashingdog.cn/fitImg/upload_7fdb9709e790713cb9f7bf47b74bbcef.jpg"}],"userInfo":{"id":11,"nickname":"","email":"2624869099@qq.com","openid":null,"header":""}}]
     */

    private String msg;
    private int error_code;
    private String request;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 57
         * userId : 5
         * title : 短发照样美
         * richText : 喜欢左图的发型，但是自从剪了短发基本就是右图酱紫…运动起来也必须是右图啦，可能淑女风格还是不适合我……
         * images : [{"id":60,"dynamicId":57,"image":"https://fitapp.dashingdog.cn/fitImg/upload_babede7ebe65d365f0afa206019bf173.jpg"},{"id":61,"dynamicId":57,"image":"https://fitapp.dashingdog.cn/fitImg/upload_dc21ce7099a951835aa2b2c2ca34ad9a.jpg"}]
         * userInfo : {"id":5,"nickname":"","email":"545520199@qq.com","openid":null,"header":"https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg"}
         */

        private int id;
        private int userId;
        private String title;
        private String richText;
        private UserInfoBean userInfo;
        private List<ImagesBean> images;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getRichText() {
            return richText;
        }

        public void setRichText(String richText) {
            this.richText = richText;
        }

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public List<ImagesBean> getImages() {
            return images;
        }

        public void setImages(List<ImagesBean> images) {
            this.images = images;
        }

        public static class UserInfoBean implements Serializable {
            /**
             * id : 5
             * nickname :
             * email : 545520199@qq.com
             * openid : null
             * header : https://fitapp.dashingdog.cn/fitImg/WechatIMG77.jpeg
             */

            private int id;
            private String nickname;
            private String email;
            private Object openid;
            private String header;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public Object getOpenid() {
                return openid;
            }

            public void setOpenid(Object openid) {
                this.openid = openid;
            }

            public String getHeader() {
                return header;
            }

            public void setHeader(String header) {
                this.header = header;
            }
        }

        public static class ImagesBean implements Serializable {
            /**
             * id : 60
             * dynamicId : 57
             * image : https://fitapp.dashingdog.cn/fitImg/upload_babede7ebe65d365f0afa206019bf173.jpg
             */

            private int id;
            private int dynamicId;
            private String image;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getDynamicId() {
                return dynamicId;
            }

            public void setDynamicId(int dynamicId) {
                this.dynamicId = dynamicId;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }
        }
    }
}
